
package presentationTier.actions;


import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import presentationTier.MainForm;
import presentationTier.dialogs.AddGenreDialog;

/**
 *
 * @author vojta
 */
public class AddGenreAction implements ActionListener{

    MainForm form;

    public AddGenreAction(MainForm aThis) {
        form = aThis;
    }

    public void actionPerformed(ActionEvent e) {
        AddGenreDialog dialog = new AddGenreDialog(form,true);
        dialog.setVisible(true);
    }

}
